package com.hrm.dao;

import com.hrm.model.HrmPost;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface HrmPostMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrmPost record);

    int insertSelective(HrmPost record);

    HrmPost selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrmPost record);

    int updateByPrimaryKey(HrmPost record);

    List<HrmPost> getPageByMap(Map<String, Object> param);

    int getPageNumByMap(Map<String, Object> param);
}